package com.aizuda.boot.modules.business.approval.entity.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

@Data
@Schema(description = "任务中心分页响应DTO")
public class TaskCenterPageResponseDTO {

    @Schema(description = "任务列表")
    private List<TaskCenterDTO> tasks;

    @Schema(description = "总数")
    private Long total;

    @Schema(description = "任务类型")
    private String taskType;

    public TaskCenterPageResponseDTO() {
    }

    public TaskCenterPageResponseDTO(List<TaskCenterDTO> tasks, Long total, String taskType) {
        this.tasks = tasks;
        this.total = total;
        this.taskType = taskType;
    }
}
